const fs = require('fs');
const path = require('path');

var oldPath = path.join(__dirname, './3.txt')

var newPath = path.join(__dirname, './h.txt')

fs.renameSync(oldPath, newPath)